package experiment6_1;

public class ThreadGuilin extends Thread{
	private String strGuilin;
	
	public ThreadGuilin(String strGuilin){
		this.strGuilin = strGuilin;
	}
	
	public void run(){
		for(int i = 0; i <= 9; i++){
			System.out.print(this.strGuilin);System.out.print(" ");
			try{
				Thread.sleep((int)Math.random() * 1000);
			}
			catch(InterruptedException ie){
			}
		}
	}

}
